package mysql

import "gorm.io/gorm"

type RealName struct {
	gorm.Model
	CardNo   string `json:"cardNo"`
	RealName string `json:"realName"`
}

func (r *RealName) Real(UserId int) error {
	return DB.Debug().Where("id = ?", UserId).Find(&r).Error
}
